﻿using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MVVMLightDemo.Models
{
    public class Employee:ObservableObject
    {
        private string name;

        public string Name
        {
            get { return name; }
            set
            {
                name = value;
                this.RaisePropertyChanged("Name");
            }
        }

        private string profession;

        public string Profession
        {
            get { return profession; }
            set
            {
                profession = value;
                this.RaisePropertyChanged("Profession");
            }
        }

        private string city;

        public string City
        {
            get { return city; }
            set
            {
                city = value;
                this.RaisePropertyChanged("City");
            }
        }



    }
}
